package oop2;

public class PhoneTest {
	public static void main(String[] args) {
		HandlePhone p = new HandlePhone();
		p.brand = "诺基亚";
		p.color = "青色";
		p.price = 1688;
		Battery battery = new Battery();
		battery.brand = "飞毛腿";
		battery.capcity = 900;
		p.b = battery;//
		// p.b = new Battery();
		// p.b.brand = "诺基亚原装";
		// p.b.capcity = 2000;
		// p.b.size = "40mm*38mm*4mm";
		p.intro();
	}
}
